<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/10/15
  Time: 16:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>信息列表</title>
</head>
<body>
  <table>
    <tr>
      <td>id</td>
      <td>name</td>
      <td>age</td>
      <td>删除修改</td>
    </tr>
    <s:iterator value="#session.list">
      <tr>
        <%--<td><s:property value="id"></s:property> </td>--%>
        <%--<td><s:property value="name"></s:property> </td>--%>
        <%--<td><s:property value="age"></s:property> </td>--%>
          <td>${id}</td>
          <td>${name}</td>
          <td>${age}</td>
        <%--不支持el表达式了--%>
        <td><s:a href="info_delete?id=%{id}">删除</s:a><s:a href="info_editForm?id=%{id}">修改</s:a></td>
      </tr>
    </s:iterator>
  </table>
  <br>
  <s:a href="info_addForm">增加</s:a>
<s:debug></s:debug>
</body>
</html>
